/*
 * stockboy.h
 *
 *  Created on: May 30, 2011
 *      Author: peckb1
 */

#ifndef STOCKBOY_H_
#define STOCKBOY_H_
#include "sharedDefinitions.h"
#include "system.h"
#include "locks.h"
class Store;
class StockBoy {
private:
	int _stockBoyIndex;
	Store* _store;
	Locks* _allTheLocks;
public:
	StockBoy(int stockBoyIndex,Store* store, Locks* allTheLocks);
	void DoWork(); //We should create the main thread on this function
	int GetAnItemIDWhichNeedsToBeReStocked();
	void PickupSuppliesFromStorage(int itemID);
	void AnswerQuestionsOfCustomers(int aisleID);
	void GoToBreak();
	int GetIndex();
};

#endif /* STOCKBOY_H_ */
